<span class="selectSingleFile">
<a href="javascript:;" class="uploader-file-btn"
   data-url="{:url('plus/Attachment/file',['selectType'=>'file','isOne'=>1,'limit'=>1,'utype'=>$scene])}"
   data-title="选择文件"
   data-input="{$field}"
   onclick="selectAttachment(this,selectSingleFile);" {notempty name="value" }style="display:none;" {/notempty}>
    上传附件
    </a>
    <input type="hidden" name="{$field}" value="{$value}"/>
    {notempty name="value"}
    <span>
        {php}$fileInfo = explode('###',$value);{/php}
        <a href="{$fileInfo[0]}" target="_blank">{$fileInfo[1]}</a>
        <a href="javascript:;" onclick="delSingleFile(this,'{$field}')" style="margin-left:10px;">删除</a>
     </span>
    {/notempty}
</span>